//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.aidong.model.wills;

import com.aidong.model.wills.PssProductStockPK;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Table(
		name = "PssProductStock"
)
@IdClass(PssProductStockPK.class)
public class PssProductStock implements Serializable {
	@Id
	@Column(
			name = "ProductCode",
			nullable = false
	)
	protected String productCode;
	@Id
	@Column(
			name = "ShopCode",
			nullable = false
	)
	protected String shopCode;
	@Column(
			name = "Quantity",
			nullable = false
	)
	protected Double quantity;
	@Column(
			name = "CreateUser",
			nullable = false
	)
	protected String createUser;
	@Column(
			name = "CreateTime",
			nullable = false
	)
	protected Date createTime;
	@Column(
			name = "UpdateTime",
			nullable = false
	)
	protected Date updateTime;

	public PssProductStock() {
	}

	public PssProductStock(String productCode, String shopCode) {
		this.productCode = productCode;
		this.shopCode = shopCode;
	}

	public String getProductCode() {
		return this.productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getShopCode() {
		return this.shopCode;
	}

	public void setShopCode(String shopCode) {
		this.shopCode = shopCode;
	}

	public Double getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
